package com.realtyManage.springboot.Service;

import com.realtyManage.springboot.Model.Do.*;
import com.realtyManage.springboot.Model.Vo.RegEntity;
import com.realtyManage.springboot.Model.Vo.UserEntity;
import com.realtyManage.springboot.Model.Vo.UserTaskEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.jpa.domain.Specification;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.List;

public interface IUserTaskService {

    UserTask findById(Integer userId);

    int insert(UserTask userTask);

    Page<UserTask> findPagedByWhereClause(UserTaskEntity userTaskEntity);

    int deleteTask(String ids);

    CustomerLevelTime insertLevelTime(CustomerLevelTime customerLevelTime);

    int deleteLevelTime(String ids);

    Page<CustomerLevelTime> findPagedByWhereClause(RegEntity regEntity);

    List<CustomerRegistration> remindList(Integer userId);

    List<CustomerRegistration> teamCustomerRemind();

    List<UserTask> queryMyTask(Integer userId);

    List<UserTask> queryFMyTask(Integer userId);

    int completeMyFTask(UserTask userTask);

    List<String> completeMyTaskDetail(Integer userId);

    void insertForward(Forward forward);

    int update(UserTask userTask);

    List<String> completeMyTaskDetailE(Integer userId);

    List<String> myTaskDetail(Integer userId);

    void deleteFCustomer();

    int yz(String time);
}
